package com.kgc.smbms.service;

import com.github.pagehelper.PageInfo;
import com.kgc.smbms.entity.Bill;

import java.util.List;

public interface BillService {
    List<Bill> selectBycondition(String productName, Integer providerId, Integer isPayment);

    Bill getBillById(int id);

    boolean checkCode(String billCode);

    boolean addBill(Bill bill);

    boolean update(Bill bill);

    boolean delete(int id);

    boolean checkCountByProviderId(int providerId);
}
